package com.coo.display
{
	import flash.display.Graphics;
	
	public class Circle extends Baseshape
	{
		public function Circle( radius:Number = 50 )
		{
			super();
			
			this._radius = radius;
			this.drawMain();
		}
		
		private var _radius:Number;
		
		override protected function drawMain(): void
		{
			var g:Graphics = this.graphics;
			
			g.clear();
			
			trace( this._radius );
			
			g.lineStyle( this.lineThickness, this.lineColor, this.lineAlpha, true );
			g.beginFill( this.fillColor, this.fillAlpha );
			g.drawCircle( 0,0, this._radius );
			g.endFill();
			
		}
	}
}